import api from '@/api/txs'

const state = {
  consultObj: {}
}

const mutations = {
  setConsultObj (state, consult) {
    state.consultObj = consult
  }
}

const actions = {
  updateConsultObj ({ commit }, consult) {
    commit('setConsultObj', consult)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
